package com.kuaimacode.kframework.mybatis.models.master;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 12786 on 2019/4/8.
 * @version 1.0
 */
@Data
@ApiModel(value = "MasterAccitityData")
public class MasterAccitityData {

    @ApiModelProperty(value = "师傅id")
    @TableField("master_id")
    private Long masterId;

    @TableField("order_id")
    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @TableField("order_no")
    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "主流程状态1取货中2送货中3完成")
    @TableField("acctity_status")
    private String acctityStatus;

    @TableField("current_status")
    @ApiModelProperty(value = "当前流程流转状态1致电发货人2已到达,3拍照,4联系收货人(帮我取，帮我送，随意购),5已送达(帮我取，帮我送，随意购),6代收货款(帮我取流程),7收款二维码,8收货验证码，9完成")
    private String currentStatus;

    @TableField("from_address")
    @ApiModelProperty(value = "取货地址")
    private String fromAddress;

    @TableField("to_address")
    @ApiModelProperty(value = "送达地址")
    private String toAddress;

    @TableField("from_longitude")
    @ApiModelProperty(value = "取货地经度")
    private String fromLongitude;

    @TableField("from_latitude")
    @ApiModelProperty(value = "取货地维度")
    private String fromLatitude;

    @TableField("to_longitude")
    @ApiModelProperty(value = "送货地经度")
    private String toLongitude;

    @ApiModelProperty(value = "送货地维度")
    @TableField("to_latitude")
    private String toLatitude;

    @ApiModelProperty(value = "取货送货时间")
    @TableField("task_time")
    private String taskTime;

    @ApiModelProperty(value = "代收货款状态")
    @TableField("collection_pay_status")
    private Integer collectionPayStatus;

    @ApiModelProperty(value = "代收款")
    @TableField("collection_amount")
    private BigDecimal collectionAmount;


    @ApiModelProperty(value = "订单日期")
    @TableField("order_date")
    private String orderDate;

    @ApiModelProperty(value = "万能帮办/技术维修定价方式 1定价 2不定价")
    @TableField("price_way")
    private String priceWay;

    @ApiModelProperty(value = "接单日期")
    @TableField("receive_date")
    private String receiveDate;

    @ApiModelProperty(value = "服务时间计时(秒)")
    @TableField("server_times")
    private String serverTimes;

    @ApiModelProperty(value = "不定价服务开始计时时间")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "不定价服务结束计时时间")
    @TableField("end_time")
    private Date endTime;
}
